package com.tentative.competition.common.model.param;

import com.tentative.competition.common.enums.DistributionQueryType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(description = "获取分销商品管理列表参数")
@Data
public class ClientDistributionGoodsQueryParam extends PageParam {

    @ApiModelProperty("查询关键字")
    public String searchWords;

    @ApiModelProperty("ALL：全部商品，YJDF：一键代发商品")
    @NotNull(message = "类型不能为空")
    public DistributionQueryType type;
}
